﻿namespace Rescue_of_the_Dwarvenzombies.SceneObjects.GameObjects.Obstacles
{
    internal abstract class Obstacle : GameObject, IStatic
    {
        internal bool IsHigh { get; set; }
        protected int Width { get; set; }
        protected int Height { get; set; }

        /// <summary>
        /// Initializes a new instance of the Obstacle class.
        /// </summary>
        /// <param name="width">The width.</param>
        /// <param name="height">The height.</param>
        /// <param name="isHigh">if set to <c>true</c> [is high].</param>
        protected Obstacle(int width, int height, bool isHigh)
        {
            Width = width;
            Height = height;
            IsHigh = isHigh;
        }
    }
}